package com.jeecg.demo.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Title: Entity
 * @Description: ANNOUNCEMENT
 * @author onlineGenerator
 * @date 2018-11-23 10:19:21
 * @version V1.0
 * 
 */
@Entity
@Table(name = "announcement", schema = "")
@SuppressWarnings("serial")
public class AnnouncementEntity implements java.io.Serializable {
    /** ID */
    private java.lang.Integer id;
    /** 竞价ID */
    @Excel(name = "竞价ID", width = 15)
    private java.lang.Integer announcementid;
    /** 系统编号 */
    @Excel(name = "系统编号", width = 15)
    private java.lang.Integer sysid;
    /** 竞价标题 */
    @Excel(name = "竞价标题", width = 15)
    private java.lang.String annountitle;
    /** 竞价内容 */
    @Excel(name = "竞价内容", width = 15)
    private java.lang.String announcontent;
    /** 竞价类型 */
    @Excel(name = "竞价类型", width = 15, dicCode = "ANNOUNTYPE")
    private java.lang.String annountype;
    /** 单据ID */
    @Excel(name = "单据ID", width = 15)
    private java.lang.Integer poid;
    /** 单据编号 */
    @Excel(name = "单据编号", width = 15)
    private java.lang.String pocode;
    /** 用户编号 */
    @Excel(name = "用户编号", width = 15)
    private java.lang.Integer userid;
    /** 交易类型 */
    @Excel(name = "交易类型", width = 15, dicCode = "TRADEMODE")
    private java.lang.String trademode;
    /** 录入时间 */
    @Excel(name = "录入时间", width = 15, format = "yyyy-MM-dd")
    private java.util.Date annountime;
    /** 状态 1.待确认 2.已审核 */
    @Excel(name = "状态 1.待确认 2.已审核", width = 15, dicCode = "ANNOSTATUS")
    private java.lang.String zhuangt;
    /** 联系人 */
    @Excel(name = "联系人", width = 15)
    private java.lang.String lianxr;
    /** 联系电话 */
    @Excel(name = "联系电话", width = 15)
    private java.lang.String lianxdh;

    /**
     * 方法: 取得java.lang.Integer
     * 
     * @return: java.lang.Integer ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.TABLE, generator = "ANNOUNCEMENT")
    @TableGenerator(name = "ANNOUNCEMENT", pkColumnValue = "ANNOUNCEMENT", table = "sys_sequence", pkColumnName = "name", valueColumnName = "sysid", initialValue = 1, allocationSize = 1)
    @Column(name = "ID", nullable = true, length = 20)
    public java.lang.Integer getId() {
        return this.id;
    }

    /**
     * 方法: 设置java.lang.Integer
     * 
     * @param: java.lang.Integer ID
     */
    public void setId(java.lang.Integer id) {
        this.id = id;
        this.announcementid = id;
        this.sysid = id;
    }

    /**
     * 方法: 取得java.lang.Integer
     * 
     * @return: java.lang.Integer 竞价ID
     */

    @Column(name = "ANNOUNCEMENTID", nullable = false, length = 38)
    public java.lang.Integer getAnnouncementid() {
        return this.announcementid;
    }

    /**
     * 方法: 设置java.lang.Integer
     * 
     * @param: java.lang.Integer 竞价ID
     */
    public void setAnnouncementid(java.lang.Integer announcementid) {
        this.announcementid = announcementid;
    }

    /**
     * 方法: 取得java.lang.Integer
     * 
     * @return: java.lang.Integer 系统编号
     */

    @Column(name = "SYSID", nullable = false, length = 38)
    public java.lang.Integer getSysid() {
        return this.sysid;
    }

    /**
     * 方法: 设置java.lang.Integer
     * 
     * @param: java.lang.Integer 系统编号
     */
    public void setSysid(java.lang.Integer sysid) {
        this.sysid = sysid;
    }

    /**
     * 方法: 取得java.lang.String
     * 
     * @return: java.lang.String 竞价标题
     */

    @Column(name = "ANNOUNTITLE", nullable = false, length = 200)
    public java.lang.String getAnnountitle() {
        return this.annountitle;
    }

    /**
     * 方法: 设置java.lang.String
     * 
     * @param: java.lang.String 竞价标题
     */
    public void setAnnountitle(java.lang.String annountitle) {
        this.annountitle = annountitle;
    }

    /**
     * 方法: 取得java.lang.String
     * 
     * @return: java.lang.String 竞价内容
     */

    @Column(name = "ANNOUNCONTENT", nullable = false)
    public java.lang.String getAnnouncontent() {
        return this.announcontent;
    }

    /**
     * 方法: 设置java.lang.String
     * 
     * @param: java.lang.String 竞价内容
     */
    public void setAnnouncontent(java.lang.String announcontent) {
        this.announcontent = announcontent;
    }

    /**
     * 方法: 取得java.lang.String
     * 
     * @return: java.lang.String 竞价类型
     */

    @Column(name = "ANNOUNTYPE", nullable = true, length = 10)
    public java.lang.String getAnnountype() {
        return this.annountype;
    }

    /**
     * 方法: 设置java.lang.String
     * 
     * @param: java.lang.String 竞价类型
     */
    public void setAnnountype(java.lang.String annountype) {
        this.annountype = annountype;
    }

    /**
     * 方法: 取得java.lang.Integer
     * 
     * @return: java.lang.Integer 单据ID
     */

    @Column(name = "POID", nullable = true, length = 19)
    public java.lang.Integer getPoid() {
        return this.poid;
    }

    /**
     * 方法: 设置java.lang.Integer
     * 
     * @param: java.lang.Integer 单据ID
     */
    public void setPoid(java.lang.Integer poid) {
        this.poid = poid;
    }

    /**
     * 方法: 取得java.lang.String
     * 
     * @return: java.lang.String 单据编号
     */

    @Column(name = "POCODE", nullable = true, length = 50)
    public java.lang.String getPocode() {
        return this.pocode;
    }

    /**
     * 方法: 设置java.lang.String
     * 
     * @param: java.lang.String 单据编号
     */
    public void setPocode(java.lang.String pocode) {
        this.pocode = pocode;
    }

    /**
     * 方法: 取得java.lang.Integer
     * 
     * @return: java.lang.Integer 用户编号
     */

    @Column(name = "USERID", nullable = true, length = 19)
    public java.lang.Integer getUserid() {
        return this.userid;
    }

    /**
     * 方法: 设置java.lang.Integer
     * 
     * @param: java.lang.Integer 用户编号
     */
    public void setUserid(java.lang.Integer userid) {
        this.userid = userid;
    }

    /**
     * 方法: 取得java.lang.String
     * 
     * @return: java.lang.String 交易类型
     */

    @Column(name = "TRADEMODE", nullable = true, length = 10)
    public java.lang.String getTrademode() {
        return this.trademode;
    }

    /**
     * 方法: 设置java.lang.String
     * 
     * @param: java.lang.String 交易类型
     */
    public void setTrademode(java.lang.String trademode) {
        this.trademode = trademode;
    }

    /**
     * 方法: 取得java.util.Date
     * 
     * @return: java.util.Date 录入时间
     */

    @Column(name = "ANNOUNTIME", nullable = false)
    public java.util.Date getAnnountime() {
        return this.annountime;
    }

    /**
     * 方法: 设置java.util.Date
     * 
     * @param: java.util.Date 录入时间
     */
    public void setAnnountime(java.util.Date annountime) {
        this.annountime = annountime;
    }

    /**
     * 方法: 取得java.lang.String
     * 
     * @return: java.lang.String 状态 1.待确认 2.已审核
     */

    @Column(name = "ZHUANGT", nullable = true, length = 10)
    public java.lang.String getZhuangt() {
        return this.zhuangt;
    }

    /**
     * 方法: 设置java.lang.String
     * 
     * @param: java.lang.String 状态 1.待确认 2.已审核
     */
    public void setZhuangt(java.lang.String zhuangt) {
        this.zhuangt = zhuangt;
    }

    /**
     * 方法: 取得java.lang.String
     * 
     * @return: java.lang.String 联系人
     */

    @Column(name = "LIANXR", nullable = true, length = 50)
    public java.lang.String getLianxr() {
        return this.lianxr;
    }

    /**
     * 方法: 设置java.lang.String
     * 
     * @param: java.lang.String 联系人
     */
    public void setLianxr(java.lang.String lianxr) {
        this.lianxr = lianxr;
    }

    /**
     * 方法: 取得java.lang.String
     * 
     * @return: java.lang.String 联系电话
     */

    @Column(name = "LIANXDH", nullable = true, length = 50)
    public java.lang.String getLianxdh() {
        return this.lianxdh;
    }

    /**
     * 方法: 设置java.lang.String
     * 
     * @param: java.lang.String 联系电话
     */
    public void setLianxdh(java.lang.String lianxdh) {
        this.lianxdh = lianxdh;
    }
}
